package cn.ittaoli.ajax.dao;

import cn.ittaoli.ajax.model.Slide;

import java.util.List;

public interface SlideMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Slide record);

    int insertSelective(Slide record);

    Slide selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Slide record);

    int updateByPrimaryKey(Slide record);

    List<Slide> getAll();

    List<Slide> findByPage(Integer start, Integer numPerPage);
}